/**
 * Created by jianglinjie on Thu Sep 21 2017
 * @flow
 */
'use strict';
import type { IRegisterStrategy } from './IRegisterStrategy';
import UserNamePwdStrategy from './UserNamePwdStrategy';
import PhonePwdCaptchaStrategy from './PhonePwdCaptchaStrategy';
import { RegisterType } from '../../../constants';

let strategyMap: Map<string, IRegisterStrategy> = new Map();
strategyMap.set(RegisterType.USERNAME_PWD, new UserNamePwdStrategy());
strategyMap.set(RegisterType.PHONE_PWD_CAPTCHA, new PhonePwdCaptchaStrategy());

export default strategyMap;

